package ua.lviv.franko.solvers;

import java.util.List;

public class ElementMatrix {

	public double[][]		matrix;
	public double[]			vector;
	protected List<Integer>	nodeList;

	public ElementMatrix(double[][] matrix, List<Integer> nodeList) {
		this.matrix = matrix;
		this.nodeList = nodeList;
	}

	public ElementMatrix(List<Integer> nodeList) {
		this.matrix = new double[nodeList.size()][nodeList.size()];
		this.vector = new double[nodeList.size()];
		this.nodeList = nodeList;
	}

	public double[][] getMatrix() {
		return matrix;
	}

	public List<Integer> getNodeList() {
		return nodeList;
	}

	public double[] getVector() {
		return vector;
	}

	public void setMatrix(double[][] matrix) {
		this.matrix = matrix;
	}

	public void setNodeList(List<Integer> nodeList) {
		this.nodeList = nodeList;
	}

	public void setVector(double[] vector) {
		this.vector = vector;
	}

}
